package com.jxk.thirdpart;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.Bean;
import org.springframework.scheduling.annotation.EnableScheduling;
import org.springframework.web.client.RestTemplate;

/**
 * @ClassName : ThirdPartApplication  //类名
 * @Description :   //描述
 * @Author : jxk  //作者
 * @Date: 2020-09-23 16:39  //时间
 */
@EnableScheduling
@SpringBootApplication
public class ThirdPartApplication {
    public static void main(String[] args) {
        SpringApplication.run(ThirdPartApplication.class,args);
    }
    @Bean
    RestTemplate restTemplate(){
        return  new RestTemplate();
    }
}
